package com.ax.center.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * @author zy
 * @date 2023/7/4 11:30
 */
@Data
@Accessors(chain = true)
@TableName(value = "authority")
@ApiModel(value = "权限实体类")
public class Authority implements Serializable {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "权限编号")
    private Long id;
    @ApiModelProperty(value = "权限名称")
    private String  authName;

    @ApiModelProperty(value = "权限创建时间")
    private String gmtCreate;

    @ApiModelProperty(value = "权限修改时间")
    private String gmtModified;
    private Integer version;
}

